/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  javafx.beans.property.SimpleStringProperty
 *  javafx.beans.property.StringProperty
 */
package com.gys.data.salesReceipts;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class GiftData {
    private String promotionType;
    private String giftCode;
    private String giftNormalPrice;
    private String giftName;
    private String proFactoryName;
    private String promotionContent;
    private String flag;
    private String index;
    private String indexD;
    private String giveNumD;
    private StringProperty giveNum = new SimpleStringProperty();
    private StringProperty giveNumHave = new SimpleStringProperty();
    private String giveNumReal;
    private String addPrice;
    private String proPym;
    private String proSpecs;
    private String promotionName;
    private String addDisc;
    private String param;
    private String voucherId;
    private String barcode;
    private String giftStock;
    private String param4;

    public StringProperty giveNumProperty() {
        return this.giveNum;
    }

    public void setGiveNum(String status) {
        this.giveNum.set(status);
    }

    public String getGiveNum() {
        return (String)this.giveNum.get();
    }

    public StringProperty giveNumHaveProperty() {
        return this.giveNumHave;
    }

    public void setGiveNumHave(String giveNumHave) {
        this.giveNumHave.set(giveNumHave);
    }

    public String getGiveNumHave() {
        return (String)this.giveNumHave.get();
    }

    public String getPromotionType() {
        return this.promotionType;
    }

    public String getGiftCode() {
        return this.giftCode;
    }

    public String getGiftNormalPrice() {
        return this.giftNormalPrice;
    }

    public String getGiftName() {
        return this.giftName;
    }

    public String getProFactoryName() {
        return this.proFactoryName;
    }

    public String getPromotionContent() {
        return this.promotionContent;
    }

    public String getFlag() {
        return this.flag;
    }

    public String getIndex() {
        return this.index;
    }

    public String getIndexD() {
        return this.indexD;
    }

    public String getGiveNumD() {
        return this.giveNumD;
    }

    public String getGiveNumReal() {
        return this.giveNumReal;
    }

    public String getAddPrice() {
        return this.addPrice;
    }

    public String getProPym() {
        return this.proPym;
    }

    public String getProSpecs() {
        return this.proSpecs;
    }

    public String getPromotionName() {
        return this.promotionName;
    }

    public String getAddDisc() {
        return this.addDisc;
    }

    public String getParam() {
        return this.param;
    }

    public String getVoucherId() {
        return this.voucherId;
    }

    public String getBarcode() {
        return this.barcode;
    }

    public String getGiftStock() {
        return this.giftStock;
    }

    public String getParam4() {
        return this.param4;
    }

    public void setPromotionType(String promotionType) {
        this.promotionType = promotionType;
    }

    public void setGiftCode(String giftCode) {
        this.giftCode = giftCode;
    }

    public void setGiftNormalPrice(String giftNormalPrice) {
        this.giftNormalPrice = giftNormalPrice;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public void setProFactoryName(String proFactoryName) {
        this.proFactoryName = proFactoryName;
    }

    public void setPromotionContent(String promotionContent) {
        this.promotionContent = promotionContent;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public void setIndexD(String indexD) {
        this.indexD = indexD;
    }

    public void setGiveNumD(String giveNumD) {
        this.giveNumD = giveNumD;
    }

    public void setGiveNumReal(String giveNumReal) {
        this.giveNumReal = giveNumReal;
    }

    public void setAddPrice(String addPrice) {
        this.addPrice = addPrice;
    }

    public void setProPym(String proPym) {
        this.proPym = proPym;
    }

    public void setProSpecs(String proSpecs) {
        this.proSpecs = proSpecs;
    }

    public void setPromotionName(String promotionName) {
        this.promotionName = promotionName;
    }

    public void setAddDisc(String addDisc) {
        this.addDisc = addDisc;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public void setVoucherId(String voucherId) {
        this.voucherId = voucherId;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public void setGiftStock(String giftStock) {
        this.giftStock = giftStock;
    }

    public void setParam4(String param4) {
        this.param4 = param4;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof GiftData)) {
            return false;
        }
        GiftData other = (GiftData)o;
        if (!other.canEqual(this)) {
            return false;
        }
        String this$promotionType = this.getPromotionType();
        String other$promotionType = other.getPromotionType();
        if (this$promotionType == null ? other$promotionType != null : !this$promotionType.equals(other$promotionType)) {
            return false;
        }
        String this$giftCode = this.getGiftCode();
        String other$giftCode = other.getGiftCode();
        if (this$giftCode == null ? other$giftCode != null : !this$giftCode.equals(other$giftCode)) {
            return false;
        }
        String this$giftNormalPrice = this.getGiftNormalPrice();
        String other$giftNormalPrice = other.getGiftNormalPrice();
        if (this$giftNormalPrice == null ? other$giftNormalPrice != null : !this$giftNormalPrice.equals(other$giftNormalPrice)) {
            return false;
        }
        String this$giftName = this.getGiftName();
        String other$giftName = other.getGiftName();
        if (this$giftName == null ? other$giftName != null : !this$giftName.equals(other$giftName)) {
            return false;
        }
        String this$proFactoryName = this.getProFactoryName();
        String other$proFactoryName = other.getProFactoryName();
        if (this$proFactoryName == null ? other$proFactoryName != null : !this$proFactoryName.equals(other$proFactoryName)) {
            return false;
        }
        String this$promotionContent = this.getPromotionContent();
        String other$promotionContent = other.getPromotionContent();
        if (this$promotionContent == null ? other$promotionContent != null : !this$promotionContent.equals(other$promotionContent)) {
            return false;
        }
        String this$flag = this.getFlag();
        String other$flag = other.getFlag();
        if (this$flag == null ? other$flag != null : !this$flag.equals(other$flag)) {
            return false;
        }
        String this$index = this.getIndex();
        String other$index = other.getIndex();
        if (this$index == null ? other$index != null : !this$index.equals(other$index)) {
            return false;
        }
        String this$indexD = this.getIndexD();
        String other$indexD = other.getIndexD();
        if (this$indexD == null ? other$indexD != null : !this$indexD.equals(other$indexD)) {
            return false;
        }
        String this$giveNumD = this.getGiveNumD();
        String other$giveNumD = other.getGiveNumD();
        if (this$giveNumD == null ? other$giveNumD != null : !this$giveNumD.equals(other$giveNumD)) {
            return false;
        }
        String this$giveNum = this.getGiveNum();
        String other$giveNum = other.getGiveNum();
        if (this$giveNum == null ? other$giveNum != null : !this$giveNum.equals(other$giveNum)) {
            return false;
        }
        String this$giveNumHave = this.getGiveNumHave();
        String other$giveNumHave = other.getGiveNumHave();
        if (this$giveNumHave == null ? other$giveNumHave != null : !this$giveNumHave.equals(other$giveNumHave)) {
            return false;
        }
        String this$giveNumReal = this.getGiveNumReal();
        String other$giveNumReal = other.getGiveNumReal();
        if (this$giveNumReal == null ? other$giveNumReal != null : !this$giveNumReal.equals(other$giveNumReal)) {
            return false;
        }
        String this$addPrice = this.getAddPrice();
        String other$addPrice = other.getAddPrice();
        if (this$addPrice == null ? other$addPrice != null : !this$addPrice.equals(other$addPrice)) {
            return false;
        }
        String this$proPym = this.getProPym();
        String other$proPym = other.getProPym();
        if (this$proPym == null ? other$proPym != null : !this$proPym.equals(other$proPym)) {
            return false;
        }
        String this$proSpecs = this.getProSpecs();
        String other$proSpecs = other.getProSpecs();
        if (this$proSpecs == null ? other$proSpecs != null : !this$proSpecs.equals(other$proSpecs)) {
            return false;
        }
        String this$promotionName = this.getPromotionName();
        String other$promotionName = other.getPromotionName();
        if (this$promotionName == null ? other$promotionName != null : !this$promotionName.equals(other$promotionName)) {
            return false;
        }
        String this$addDisc = this.getAddDisc();
        String other$addDisc = other.getAddDisc();
        if (this$addDisc == null ? other$addDisc != null : !this$addDisc.equals(other$addDisc)) {
            return false;
        }
        String this$param = this.getParam();
        String other$param = other.getParam();
        if (this$param == null ? other$param != null : !this$param.equals(other$param)) {
            return false;
        }
        String this$voucherId = this.getVoucherId();
        String other$voucherId = other.getVoucherId();
        if (this$voucherId == null ? other$voucherId != null : !this$voucherId.equals(other$voucherId)) {
            return false;
        }
        String this$barcode = this.getBarcode();
        String other$barcode = other.getBarcode();
        if (this$barcode == null ? other$barcode != null : !this$barcode.equals(other$barcode)) {
            return false;
        }
        String this$giftStock = this.getGiftStock();
        String other$giftStock = other.getGiftStock();
        if (this$giftStock == null ? other$giftStock != null : !this$giftStock.equals(other$giftStock)) {
            return false;
        }
        String this$param4 = this.getParam4();
        String other$param4 = other.getParam4();
        return !(this$param4 == null ? other$param4 != null : !this$param4.equals(other$param4));
    }

    protected boolean canEqual(Object other) {
        return other instanceof GiftData;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        String $promotionType = this.getPromotionType();
        result = result * 59 + ($promotionType == null ? 43 : $promotionType.hashCode());
        String $giftCode = this.getGiftCode();
        result = result * 59 + ($giftCode == null ? 43 : $giftCode.hashCode());
        String $giftNormalPrice = this.getGiftNormalPrice();
        result = result * 59 + ($giftNormalPrice == null ? 43 : $giftNormalPrice.hashCode());
        String $giftName = this.getGiftName();
        result = result * 59 + ($giftName == null ? 43 : $giftName.hashCode());
        String $proFactoryName = this.getProFactoryName();
        result = result * 59 + ($proFactoryName == null ? 43 : $proFactoryName.hashCode());
        String $promotionContent = this.getPromotionContent();
        result = result * 59 + ($promotionContent == null ? 43 : $promotionContent.hashCode());
        String $flag = this.getFlag();
        result = result * 59 + ($flag == null ? 43 : $flag.hashCode());
        String $index = this.getIndex();
        result = result * 59 + ($index == null ? 43 : $index.hashCode());
        String $indexD = this.getIndexD();
        result = result * 59 + ($indexD == null ? 43 : $indexD.hashCode());
        String $giveNumD = this.getGiveNumD();
        result = result * 59 + ($giveNumD == null ? 43 : $giveNumD.hashCode());
        String $giveNum = this.getGiveNum();
        result = result * 59 + ($giveNum == null ? 43 : $giveNum.hashCode());
        String $giveNumHave = this.getGiveNumHave();
        result = result * 59 + ($giveNumHave == null ? 43 : $giveNumHave.hashCode());
        String $giveNumReal = this.getGiveNumReal();
        result = result * 59 + ($giveNumReal == null ? 43 : $giveNumReal.hashCode());
        String $addPrice = this.getAddPrice();
        result = result * 59 + ($addPrice == null ? 43 : $addPrice.hashCode());
        String $proPym = this.getProPym();
        result = result * 59 + ($proPym == null ? 43 : $proPym.hashCode());
        String $proSpecs = this.getProSpecs();
        result = result * 59 + ($proSpecs == null ? 43 : $proSpecs.hashCode());
        String $promotionName = this.getPromotionName();
        result = result * 59 + ($promotionName == null ? 43 : $promotionName.hashCode());
        String $addDisc = this.getAddDisc();
        result = result * 59 + ($addDisc == null ? 43 : $addDisc.hashCode());
        String $param = this.getParam();
        result = result * 59 + ($param == null ? 43 : $param.hashCode());
        String $voucherId = this.getVoucherId();
        result = result * 59 + ($voucherId == null ? 43 : $voucherId.hashCode());
        String $barcode = this.getBarcode();
        result = result * 59 + ($barcode == null ? 43 : $barcode.hashCode());
        String $giftStock = this.getGiftStock();
        result = result * 59 + ($giftStock == null ? 43 : $giftStock.hashCode());
        String $param4 = this.getParam4();
        result = result * 59 + ($param4 == null ? 43 : $param4.hashCode());
        return result;
    }

    public String toString() {
        return "GiftData(promotionType=" + this.getPromotionType() + ", giftCode=" + this.getGiftCode() + ", giftNormalPrice=" + this.getGiftNormalPrice() + ", giftName=" + this.getGiftName() + ", proFactoryName=" + this.getProFactoryName() + ", promotionContent=" + this.getPromotionContent() + ", flag=" + this.getFlag() + ", index=" + this.getIndex() + ", indexD=" + this.getIndexD() + ", giveNumD=" + this.getGiveNumD() + ", giveNum=" + this.getGiveNum() + ", giveNumHave=" + this.getGiveNumHave() + ", giveNumReal=" + this.getGiveNumReal() + ", addPrice=" + this.getAddPrice() + ", proPym=" + this.getProPym() + ", proSpecs=" + this.getProSpecs() + ", promotionName=" + this.getPromotionName() + ", addDisc=" + this.getAddDisc() + ", param=" + this.getParam() + ", voucherId=" + this.getVoucherId() + ", barcode=" + this.getBarcode() + ", giftStock=" + this.getGiftStock() + ", param4=" + this.getParam4() + ")";
    }
}

